package com.itheima.reggie_auto.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie_auto.entity.Category;

import java.util.List;

public interface CategoryService {
    Page<Category> page(int page, int pageSize);

    void save(Category category);

    void deleteById(Long id);

    void update(Category category);

    List<Category> getList(Category category);

    Category getById(Long categoryId);
}
